package com.biblioteca.utils;
 
import java.util.ArrayList;
import java.util.List;

import com.biblioteca.controller.PerfilController;
import com.biblioteca.entity.Perfil;
import com.biblioteca.enums.Permissao;
import com.biblioteca.repositorio.Repositorio;

public class Main {
	public static void main(String [] args) throws Exception{
		String str = "";
		
		long timeStamp = System.currentTimeMillis();
		System.out.println(timeStamp);
		
		for(int i = 0; i < 100000; i++){
			str += i;
		}
		
		timeStamp = System.currentTimeMillis();
		System.out.println(timeStamp);
		System.out.println("concatenacao end\n\n\n");
		
		timeStamp = System.currentTimeMillis();
		System.out.println(timeStamp);
		
		
		StringBuffer sb = new StringBuffer();
		
		for(int i = 0; i < 100000; i++){
			sb.append(i);
		}
		
		timeStamp = System.currentTimeMillis();
		System.out.println(timeStamp);
	}
}
